package com.wat.cycleDI;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.io.ClassPathResource;

public class cycleDIMain {

	public static void main(String[] args) {
/*		BeanFactory context = new XmlBeanFactory(new ClassPathResource("cycleDI.xml"));
//		ClassPathXmlApplicationContext context =
//				new ClassPathXmlApplicationContext("${wat:classpath:cycleDI.xml}");

		BeanPostProcessor postProcessor = new GetUpPostProcessor();
		((XmlBeanFactory) context).addBeanPostProcessor(postProcessor);
		Mother mother = (Mother) context.getBean("mother");
		System.out.println(mother);*/
	}
}
